require.config({
    paths: {
        header: "../../js/components/header.js?noext",
        jquery: "../../js/jquery.js?noext",
    },
});
require(["jquery", "header"], function($, b) {
    console.log($, b);
    b.then((res) => console.log(res));
});
var a = new Promise((resolve, reject) => {
    resolve({ a: 1 });
});